package com.qk.service;

import com.qk.common.PageResult;
import com.qk.dto.ActivityDto;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {

    PageResult<Activity> selectList(ActivityDto activityDto);

    void add(Activity activity);

    void deleteById(Integer id);

    Activity findById(Integer id);

    void update(Activity activity);


    List<Activity> findByType(Integer type);
}
